#pragma once

#include <QtGui>
using namespace std;

class ResultItem : public QListWidgetItem {

  public:
    ResultItem(string name, QListWidget *parent = 0);
    ResultItem(const ResultItem & other);
    string path;
    int score;
    int type;
    
    bool operator< (const QListWidgetItem & other) const {
      return (score < ((const ResultItem &) other).score);
    }
};
